package demo;

import java.util.Date;

import com.aerospike.client.IAerospikeClient;

public class TruncateDataSet {
	
	
	public static void main(String[] args) throws Exception {
		IAerospikeClient client = AsClientUtil.getClient();
		System.out.println("client="+client);
		
		// client.truncate(policy, ns, set, beforeLastUpdate);
		client.truncate(null, AsClientUtil.NAMESPACE, AsClientUtil.DATASET, null);
	
		System.out.println("truncate done,"+new Date());
		
	}
	
	
}
	